import { useState } from 'react';
export const useForceUpdate = ()=>{
    const [_, setValue] = useState(false);
    return ()=>setValue(val=>!val);
}